//
//  DeviceUtil.h
//  EasyToo
//
//  Created by zhengzhe on 13-6-10.
//
//

#import <Foundation/Foundation.h>

#define IOS7_OR_MORE ([[[UIDevice currentDevice] systemVersion] floatValue]>=7.0?YES:NO)
#define ADJUST_IOS7STATUES_HIGHT    (IOS7_OR_MORE?0.0:-65.0)
#define ADD_ADJUST_IOS7STATUES_HIGHT    (IOS7_OR_MORE?65.0:0.0)

@interface DeviceUtil : NSObject

+ (CGFloat)getScreenWidth;

+ (CGFloat)getScreenHeight;

+ (NSString *)getMD5:(NSString *)str;

//正则判断手机号码地址格式
+ (BOOL)isMobileNumber:(NSString *)mobileNum;

@end
